import { onMounted, ref } from 'vue'

export function handleRef() {
  const refObj = ref({ name: '' })
  onMounted(() => {
    refObj.value = { name: 'hello world' }
    console.log(refObj)
  })
  return refObj
}
